package Chapter02.Homework.H20211110;

import java.util.Calendar;

public class Work02 {
    public static void main(String[] args) {
        Calendar zhi=Calendar.getInstance();
        long time=zhi.getTimeInMillis();
        zhi.set(2012,12,21);
        long time2=zhi.getTimeInMillis();
        long time3=(time-time2)/1000/3600/24;
        System.out.println("世界末日过去"+time3+"天");
    }
}
